package team.jaman.autosell.service;

import team.jaman.autosell.entity.Logger;
import team.jaman.autosell.entity.Users;
import team.jaman.autosell.tools.CommonData;
import team.jaman.autosell.tools.PageData;


public interface UsersService {
	/**
	 * 根据账号密码查询用户
	 */
	public Users loginUsers(Users record,Logger logger);
	/**
	 * 添加用户
	 * @param record 添加用户对象
	 * @return
	 */
	public CommonData addUsers(Users record,Logger logger);
	/**
	 * 查询用户
	 * @param record
	 * @return
	 */
	public PageData<Users> selectUsers(int page, int limit, String keyword);
	/**
	 * 修改用户
	 */
	public CommonData updateByPrimaryKeySelective(Users record,Logger logger);

}
